const RightService = require('../service/RightService')
module.exports={
    async getList(req,res,next){
        var result = await RightService.getList()
        res.send(result)
    },
    async updataList(req, res, next) {
        var result = await RightService.updataList(req.body)
        res.send(result)
    }, 
    async deleteList(req, res, next) {
        var result = await RightService.deleteList(req.body)
        res.send(result)
    }
    
}